package model

// SysTenantApplication 租户应用关联表
type SysTenantApplication struct {
	BaseModel
	ApplicationID uint64 `json:"applicationId" gorm:"column:application_id;comment:应用ID"`
	Status        int    `json:"status" gorm:"column:status;comment:状态(0-禁用 1-启用)"`
	ExpireTime    int64  `json:"expireTime" gorm:"column:expire_time;comment:过期时间戳"`
	CreateBy      string `json:"createBy" gorm:"column:create_by;type:varchar(64);comment:创建者"`
	UpdateBy      string `json:"updateBy" gorm:"column:update_by;type:varchar(64);comment:更新者"`
}

// TableName 指定表名
func (SysTenantApplication) TableName() string {
	return "sys_tenant_application"
}
